package com.adou.d13;

import java.util.HashSet;
import java.util.Set;

public class SetTest3 {
    public static void main(String[] args) {
        Set<Student> s = new HashSet<>();
        Student stu1 = new Student("蜘蛛精", 25, 169.5);
        Student stu2 = new Student("紫霞", 25, 169.5);
        Student stu3 = new Student("牛夫人", 25, 169.5);
        Student stu4 = new Student("蜘蛛精", 25, 169.5);

        s.add(stu1);
        s.add(stu2);
        s.add(stu3);
        s.add(stu4);

        System.out.println(s);

        System.out.println("////////////////////////-");


    }
}
